import Vue from "vue/dist/vue.js";

export default function createExtend(template, options) {
  let Profile = Vue.extend({
    template: template,
    data() {
      return {
        ...options,
      };
    },
  });

  return new Profile().$mount();
  //   let profile = new Profile().$mount();
  //   document.querySelector(node).appendChild(profile.$el);
}
